package com.niubility.entity;


import java.io.Serializable;

/**
 * @author 张晨
 * @Description: Article 实体类
 */
public class Article implements Serializable{
    private int artId;
    private int artMasterId;
    private String artTitle;
    private String artCover;
    private String artContext;
    private String artTexthead;
    private int artGoodNum = 0;
    private int artCollectnum=0;
    private int artAssessnum=0;
    private int artReadnum=0;
    private String artDate;
    private String artLab;

    public Article() {
    }

    public Article(int artMasterId, String artTitle, String artCover, String artContext, String artTexthead, int artGoodNum, int artCollectnum, int artAssessnum, int artReadnum, String artDate) {
        this.artMasterId = artMasterId;
        this.artTitle = artTitle;
        this.artCover = artCover;
        this.artContext = artContext;
        this.artTexthead = artTexthead;
        this.artGoodNum = artGoodNum;
        this.artCollectnum = artCollectnum;
        this.artAssessnum = artAssessnum;
        this.artReadnum = artReadnum;
        this.artDate = artDate;
    }

    public Article(int artId, int artMasterId, String artTitle, String artCover, String artContext, String artTexthead, int artGoodNum, int artCollectnum, int artAssessnum, int artReadnum, String artDate) {
        this.artId = artId;
        this.artMasterId = artMasterId;
        this.artTitle = artTitle;
        this.artCover = artCover;
        this.artContext = artContext;
        this.artTexthead = artTexthead;
        this.artGoodNum = artGoodNum;
        this.artCollectnum = artCollectnum;
        this.artAssessnum = artAssessnum;
        this.artReadnum = artReadnum;
        this.artDate = artDate;
    }

    public String getArtLab() {
        return artLab;
    }

    public void setArtLab(String artLab) {
        this.artLab = artLab;
    }

    public int getArtId() {
        return artId;
    }

    public void setArtId(int artId) {
        this.artId = artId;
    }

    public int getArtMasterId() {
        return artMasterId;
    }

    public void setArtMasterId(int artMasterId) {
        this.artMasterId = artMasterId;
    }

    public String getArtTitle() {
        return artTitle;
    }

    public void setArtTitle(String artTitle) {
        this.artTitle = artTitle;
    }

    public String getArtCover() {
        return artCover;
    }

    public void setArtCover(String artCover) {
        this.artCover = artCover;
    }

    public String getArtContext() {
        return artContext;
    }

    public void setArtContext(String artContext) {
        this.artContext = artContext;
    }

    public String getArtTexthead() {
        return artTexthead;
    }

    public void setArtTexthead(String artTexthead) {
        this.artTexthead = artTexthead;
    }

    public int getArtGoodNum() {
        return artGoodNum;
    }

    public void setArtGoodNum(int artGoodNum) {
        this.artGoodNum = artGoodNum;
    }

    public int getArtCollectnum() {
        return artCollectnum;
    }

    public void setArtCollectnum(int artCollectnum) {
        this.artCollectnum = artCollectnum;
    }

    public int getArtAssessnum() {
        return artAssessnum;
    }

    public void setArtAssessnum(int artAssessnum) {
        this.artAssessnum = artAssessnum;
    }

    public int getArtReadnum() {
        return artReadnum;
    }

    public void setArtReadnum(int artReadnum) {
        this.artReadnum = artReadnum;
    }

    public String getArtDate() {
        return artDate;
    }

    public void setArtDate(String artDate) {
        this.artDate = artDate;
    }

    @Override
    public String toString() {
        return "Article{" +
                "artId=" + artId +
                ", artMasterId=" + artMasterId +
                ", artTitle='" + artTitle + '\'' +
                ", artCover='" + artCover + '\'' +
                ", artContext='" + artContext + '\'' +
                ", artTexthead='" + artTexthead + '\'' +
                ", artGoodNum=" + artGoodNum +
                ", artCollectnum=" + artCollectnum +
                ", artAssessnum=" + artAssessnum +
                ", artReadnum=" + artReadnum +
                ", artDate='" + artDate + '\'' +
                '}';
    }
}
